package br.com.fromtis.jsf.modal.entity;
import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@EqualsAndHashCode( exclude = { "numero" } )
@Entity
public class Telefone implements Serializable {
    private static final long serialVersionUID = 7882034306378436690L;
    

	@Id
	@GeneratedValue
	@Column(name="ID")
	private Integer id;
	
	@Column( name = "TELEFONE_NUMERO" )
	private String numero;
	
}
